lcEntXData | Home |
BOOL lcEntXData ( HANDLE hEntity, int Id, int Flags, int nBytes ); |
hEntity | |
Handle to a graphic object. | |
Id | |
Application specific identifier of the extra data (entity property LC_PROP_ENT_XDATAID). The value varies from 0 to 10'000 | |
Flags | |
Application specific flags (entity property LC_PROP_ENT_XDATAFLAGS) | |
nBytes | |
Size of data buffer, in bytes (entity property LC_PROP_ENT_XDATASIZE) |
If the function succeeds, the return value is nonzero (TRUE). |
After buffer is allocated, you can get its memory pointer by LC_PROP_ENT_XDATA, and read/write the data using this pointer. |
lcXDataBegin,
lcXDataEnd,
lcXDataClear,
lcXDataSet
Code sample |